package com.huidao.dao;

import java.util.List;

import com.huidao.entity.Menu;

public interface MenuDao {
	
	public boolean addMenu(Menu Menu);
	
	public boolean delMenu(Long id);
	
	public boolean updateMenu(Menu Menu);

	public List<Menu> getListPage(int currentPage,int pageSize,String namekey);
	
	public int getTotalCount(String namekey);
	
	public List<Menu> getAllList(Long roleId);
}
